package com.rock.code.common.exceptions;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 统一异常处理
 *
 * @author kongqiang
 * @date 2017.04.13
 */
public class SystemException extends Exception {

    /**
     * The Log.
     */
    protected Logger log = LoggerFactory.getLogger("SystemException");

    /**
     * Instantiates a new System exception.
     */
    public SystemException() {
        super();
    }

    /**
     * Instantiates a new System exception.
     *
     * @param msg the msg
     * @param ex  the ex
     */
    public SystemException(String msg, Exception ex) {
        super(msg, ex);
    }

    /**
     * Instantiates a new System exception.
     *
     * @param ex the ex
     */
    public SystemException(Exception ex) {
        super(ex);
    }

}
